package com.mind.system.domain;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.mind.common.annotation.Excel;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;


/**
 * 附件结果(AjAttachResult)
 *
 * @author makejava
 * @since 2024-10-30 21:47:04
 */
@Data
public class AjAttachResult implements Serializable {
    /**
     * 主键
     */     
    @ExcelIgnore
    @TableId(type = IdType.AUTO)
    private Integer id;
    /**
     * 文件名称
     */     
    @Excel(name = "文件名称")
    @ExcelProperty("文件名称")
    private String fileName;
    /**
     * 附件地址
     */     
    @Excel(name = "附件地址")
    @ExcelProperty("附件地址")
    private String fileUrl;
    /**
     * 处理状态
     */     
    @Excel(name = "处理状态")
    @ExcelProperty("处理状态")
    private String status;
    /**
     * 处理结果
     */     
    @Excel(name = "处理结果")
    @ExcelProperty("处理结果")
    private String result;
    /**
     * 单据ID
     */     
    @Excel(name = "单据ID")
    @ExcelProperty("单据ID")
    private String ticketId;
    /**
     * 单据类型
     */     
    @Excel(name = "单据类型")
    @ExcelProperty("单据类型")
    private String ticketType;
    /**
     * 版本
     */     
    @Excel(name = "版本")
    @ExcelProperty("版本")
    private Integer version;
    /**
     * 文件类型
     */     
    @Excel(name = "文件类型")
    @ExcelProperty("文件类型")
    private String fileExtension;
    /**
     * 创建时间
     */     
    @ExcelIgnore
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    /**
     * 更新时间
     */     
    @ExcelIgnore
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
    /**
     * ocr耗时
     */     
    @Excel(name = "ocr耗时")
    @ExcelProperty("ocr耗时")
    private Long costOcr;
    /**
     * 获取内容耗时
     */     
    @Excel(name = "获取内容耗时")
    @ExcelProperty("获取内容耗时")
    private Long costContent;
         
    @Excel(name = "${column.comment}")
    @ExcelProperty("${column.comment}")
    private Integer pdfPages;

    @Excel(name = "${column.comment}")
    @ExcelProperty("${column.comment}")
    @TableField(value = "`trigger`")
    private Integer trigger;


    private String originId;
    private String sourceUrl;
    private String ext1;
    private String ext2;
    private String ext3;
    private String ext4;
    private String ext5;
    private String ext6;
    private String ext7;
    private String ext8;
    private String ext9;
    private String ext10;

}

